﻿using System.Collections.Generic;
using System.Linq;

namespace music.core
{
	public static class Extensions
	{
		public static bool IsNullOrEmpty<T>(this IEnumerable<T> collection)
		{
			return collection == null || !collection.Any();
		}
	}
}
